import BaseUrl from '../BaseUrl'
import RequestHelper from '../../utils/request-helpr'

const systemPath = BaseUrl.getDefaultBaseUrl()
const modulePath = systemPath + '/meterial/program/'
// 定义Request工具类实例
const requestHelper = new RequestHelper(modulePath)

export const apiProgram = {
  get: requestHelper.get,
  post: requestHelper.post,

  // program
  list: requestHelper.get('list'),
  read: requestHelper.get('read')
}

